• source is the intput variable or field containing the text
• fieldWidth is the length of the desired result string
• padChar is the character to pad the string with
• padRight is TRUE for placing the source at the right, FALSE for left
put editString("Pad", field A, 20, ".", TRUE) into field B If field A is
"Hello" then the result string will be: "...............Hello"
-- part contents for background part 4
----- text -----
Hello there
Bob
-- part contents for card part 2
----- text -----
.
-- part contents for card part 3
----- text -----
35
-- part contents for background part 2
----- text -----
PAD will add a specific character to the beginning or end of a string until a specified length is attained. This function is limited to strings only and will ignore any characters past position 255. If the length of the original source text is longer than the desired length the function will just return the original source text.